package com.hznu.ez4life.myBeans;

import com.hznu.ez4life.modules.entity.User;
import org.springframework.stereotype.Component;

@Component
public class LoginInfo {//封装登录信息
    private User user;
    private String sessionid;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid;
    }
}
